@font-face {
  font-family: 'ActivitiModeler';
  src: url('./assets/fonts/activiti-admin-webfont.eot');
  src: url('./assets/fonts/activiti-admin-webfont.eot?#iefix') format('embedded-opentype'),
    url('./assets/fonts/activiti-admin-webfont.woff') format('woff'),
    url('./assets/fonts/activiti-admin-webfont.ttf') format('truetype'),
    url('./assets/fonts/activiti-admin-webfont.svg#activitimodelerregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.editor-icon {
  font-family: 'ActivitiModeler';
  position: relative;
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* color: #333; */
}

.editor-icon.pressed {
  color: #18f;
}

.p-d-toolbar .ant-btn {
  padding: 2px 7px;
}

.p-d-toolbar .ant-btn .editor-icon {
  font-size: 18px;
}

.editor-icon-save:before {
  content: 'a';
}

.editor-icon-edit:before {
  content: 'b';
}

.editor-icon-cut:before {
  content: 'c';
}

.editor-icon-copy:before {
  content: 'd';
}

.editor-icon-paste:before {
  content: 'e';
}

.editor-icon-delete:before {
  content: 'f';
}

.editor-icon-redo:before {
  content: 'h';
}

.editor-icon-undo:before {
  content: 'g';
}

.editor-icon-same-size:before {
  content: 'i';
}

.editor-icon-zoom-in:before {
  content: 'k';
}

.editor-icon-zoom-out:before {
  content: 'l';
}

.editor-icon-zoom-actual:before {
  content: 'm';
}

.editor-icon-zoom-fit:before {
  content: 'j';
}

.editor-icon-bendpoint-add:before {
  content: 'n';
}

.editor-icon-bendpoint-remove:before {
  content: 'o';
}

.editor-icon-align-horizontal:before {
  content: 'p';
}

.editor-icon-align-vertical:before {
  content: 'q';
}

.p-d-wrap {
  width: 100%;
  height: 100%;
  border: 1px #ddd solid;
  box-sizing: border-box;
}
.p-d-wrap .ant-spin-container{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.p-d-head {
  height: 40px;
  border-bottom: 1px #ddd solid;
  flex-shrink: 0;
}

.p-d-body {
  flex: 1;
  display: flex;
  overflow: auto;
}

.p-d-middle {
  flex: 1;
  border-left: 1px #ddd solid;
  border-right: 1px #ddd solid;
  background-color: #eee;
  overflow: auto;
  height: 100%;
  box-sizing: border-box;
  /* padding: 40px; */
  position: relative;
}

.p-d-left {
  width: 200px;
  overflow: auto;
  flex-shrink: 0;
  height: 100%;
}

.p-d-right {
  width: 300px;
  overflow: auto;
  flex-shrink: 0;
  height: 100%;
}

.p-d-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 10px;
}


.p-d-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.p-d-panel-head {
  height: 32px;
  line-height: 32px;
  background-color: #eee;
  border-bottom: 1px #ddd solid;
  font-size: 15px;
  font-weight: bold;
  padding: 0 10px;
}

.p-d-panel-body {
  flex: 1;
  overflow: auto;
  padding: 10px;
}

.p-d-form .ant-form-item {
  margin-bottom: 12px;
}

.p-d-form .ant-form-item-label {
  padding: 0;
}

.p-d-form .ant-form-item-label label {
  font-size: 12px;
  color: #999;
}
.palette-pabel{
  height: 100%;
  display: flex;
}
.palette-tab{
  width: 40px;
  height: 100%;
  border-right: 1px #ddd solid;
}
.palette-tab-item{
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.palette-tab-item:hover{
  color: #18f;
}
.palette-tab-item.active{
  color: #18f;
}
.palette-tab-item.active:after{
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  box-sizing: content-box;
  border-left: 1px #ddd solid;
  border-top: 1px #ddd solid;
  background-color: #fff;
  top: 50%;
  margin-top: -5px;
  right: -5px;
  transform: rotate(-45deg);
}
.palette-tab-pane{
  width: 0;
  flex: 1;
}
.p-d-palette {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
  z-index: 2;
}

.palette-group-head {
  padding: 0 10px;
  height: 26px;
  line-height: 24px;
  background-color: #eee;
  border-top: 1px #ddd solid;
  border-bottom: 1px #ddd solid;
}

.palette-group-wrap:nth-of-type(1) .palette-group-head {
  border-top: 0;
}

.palette-group-body {
  padding: 5px 0;
}

.palette-group-item {
  height: 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 10px;
  cursor: move;
}

.palette-group-item-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 5px;
}

.palette-group-item:hover {
  background-color: #eee;
}

.toolbar-btn {
  min-width: 18px;
  padding: 0 7px;
  height: 26px;
  border: 1px #ccc solid;
  border-radius: 2px;
  background-color: #eee;
  cursor: pointer;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.toolbar-btn>i {
  font-size: 18px;
  color: #333;
}

.toolbar-btn:hover {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toolbar-btn.disabled {
  cursor: not-allowed;
  background-color: #ddd;
  box-shadow: none;
}

.toolbar-btn.disabled i {
  color: #bbb;
}

.toolbar-btn .anticon {
  font-size: 15px;
}

.toolbar-btn.primary {
  border-color: #0074e9;
  background-color: #18f;
  color: #fff;
}

.toolbar-btn.primary i,
.toolbar-btn.primary .anticon {
  color: #fff;
}

.toolbar-btn.primary:hover {
  background-color: #389cff;
}

.Oryx_button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-d-tree-box{
  padding: 10px 5px 10px 0;
}
.p-d-tree-box .ant-tree-title{
  display: block;
  word-break: break-all;
}
